package com.yy.service;

import com.yy.dto.EmployeeDTO;
import com.yy.dto.EmployeeLoginDTO;
import com.yy.dto.EmployeePageQueryDTO;
import com.yy.entity.Employee;
import com.yy.result.PageResult;

public interface EmployeeService {

    /**
     * 员工登录
     *
     * @param employeeLoginDTO
     * @return
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void addemp(EmployeeDTO dto);

    PageResult page(EmployeePageQueryDTO dto);

    Employee getById(Integer id);

    void update(EmployeeDTO dto);

    void enableOrDisable(Integer status, Long id);
}
